home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / pluginy Firefox / 9675 / 9675.xpi / chrome / content / simpletimer-notify.xul < prev    next >
Extensible Markup Language  |  2009-07-17  |  8KB  |  178 lines

  1. <?xml version="1.0"?>
  2.  
  3. <?xml-stylesheet href="chrome://global/skin/"
  4.                  type="text/css"?>
  5.  
  6. <?xml-stylesheet href="chrome://simpletimer/content/simpletimer.css"
  7.                  type="text/css"?>
  8.  
  9. <!DOCTYPE dialog SYSTEM "chrome://simpletimer/locale/simpletimer.dtd">
  10.  
  11. <dialog id="simtim-dlgNotifyTimeEntry"
  12.             title="¬ify.time.name;"
  13.             xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  14.             buttons="accept, cancel"
  15.             onload="SimpleTimerNotify.onLoadNotify();"
  16.             ondialogaccept="return SimpleTimerNotify.onOKNotify();"
  17.             persist="screenX screenY">
  18.  
  19. <script type="application/x-javascript"
  20.         src="chrome://simpletimer/content/simpletimer-notify.js" />
  21.  
  22. <stringbundleset id="stringbundleset">
  23.     <stringbundle id="simtim-strings"
  24.                   src="chrome://simpletimer/locale/simpletimer.properties" />
  25. </stringbundleset>
  26.  
  27. <groupbox id="simtim-gboxNotify">
  28.     <caption label="¬ify.grpbox.entry;"
  29.              class="simtim-prefGroupboxLabel" />
  30.     <hbox>
  31.         <vbox>
  32.             <spacer flex="2" />
  33.             <label id="simtim-labDescription"
  34.                    value="¬ify.label.description;:"
  35.                    control="simtim-tboxNotifyDesc" />
  36.             <spacer flex="10" />
  37.             <label id="simtim-labUrl"
  38.                    value="¬ify.label.url;:"
  39.                    control="simtim-tboxNotifyUrl" />
  40.             <spacer flex="10" />
  41.             <label id="simtim-labTime"
  42.                    value="¬ify.label.time;:" />
  43.             <spacer flex="10" />
  44.             <label id="simtim-labRecurring"
  45.                    value="¬ify.label.recurring;:" />
  46.             <spacer flex="3" />
  47.         </vbox>
  48.         <vbox>
  49.             <hbox>
  50.                 <textbox id="simtim-tboxNotifyDesc"
  51.                          width="350"
  52.                          tooltiptext="¬ify.description.tip;"/>
  53.                 <separator orient="vertical"
  54.                            flex="1" />
  55.             </hbox>
  56.             <spacer height="7" />
  57.             <hbox>
  58.                 <textbox id="simtim-tboxNotifyUrl"
  59.                          width="350"
  60.                          tooltiptext="¬ify.url.tip;"/>
  61.                 <button id="simtim-btnBookmark"
  62.                         label="¬ify.btn.bookmark;"
  63.                         tooltiptext="¬ify.btn.bookmark.tip;"
  64.                         oncommand="SimpleTimerNotify.onBookmarkNotify();" />
  65.             </hbox>
  66.             <spacer height="7" />
  67.             <timepicker id="simtim-tspinNotifyTime"
  68.                         hideseconds="true"
  69.                         increment="1"
  70.                         tooltiptext="¬ify.timepicker.tip;" />
  71.             <spacer height="7" />
  72.             <hbox>
  73.                 <checkbox id="simtim-cboxNotifyRecurring"
  74.                               tooltiptext="¬ify.recurring.tip;"
  75.                               oncommand="SimpleTimerNotify.onClickRecurringNotify();" />
  76.                 <separator orient="vertical" />
  77.                 <menulist id="simtim-mlistDow"
  78.                           label="daily"
  79.                           readonly="true"
  80.                           disabled="true"
  81.                           tooltiptext="¬ify.dow.tip;">
  82.                     <menupopup id="simtim-mpopDow" >
  83.                         <menuitem label="¬ify.dow.daily;"
  84.                                   value="7" />
  85.                         <menuitem label="¬ify.dow.weekdays;"
  86.                                   value="8" />
  87.                         <menuitem label="¬ify.dow.weekend;"
  88.                                   value="9" />
  89.                         <menuitem label="¬ify.dow.sunday;"
  90.                                   value="0" />
  91.                         <menuitem label="¬ify.dow.monday;"
  92.                                   value="1" />
  93.                         <menuitem label="¬ify.dow.tuesday;"
  94.                                   value="2" />
  95.                         <menuitem label="¬ify.dow.wednesday;"
  96.                                   value="3" />
  97.                         <menuitem label="¬ify.dow.thursday;"
  98.                                   value="4" />
  99.                         <menuitem label="¬ify.dow.friday;"
  100.                                   value="5" />
  101.                         <menuitem label="¬ify.dow.saturday;"
  102.                                   value="6" />
  103.                     </menupopup>
  104.                 </menulist>
  105.                 <separator orient="vertical" />
  106.                 <button id="simtim-btnAddOk"
  107.                     label="¬ify.btn.addOk;"
  108.                     tooltiptext="¬ify.btn.addOk.tip;"
  109.                     oncommand="SimpleTimerNotify.onAddOkNotify();" />
  110.             </hbox>
  111.         </vbox>
  112.         <vbox>
  113.             <separator orient="vertical"
  114.                        flex="1" />
  115.         </vbox>
  116.     </hbox>
  117. </groupbox>
  118. <separator />
  119. <hbox flex="1">
  120.     <vbox pack="center">
  121.         <button id="simtim-btnAdd"
  122.                 label="¬ify.btn.add;"
  123.                 tooltiptext="¬ify.btn.add.tip;"
  124.                 oncommand="SimpleTimerNotify.onAddNotify();" />
  125.         <button id="simtim-btnDel"
  126.                 label="¬ify.btn.del;"
  127.                 tooltiptext="¬ify.btn.del.tip;"
  128.                 oncommand="SimpleTimerNotify.onDeleteNotify();" />
  129.         <button id="simtim-btnDelAll"
  130.                 label="¬ify.btn.del.all;"
  131.                 tooltiptext="¬ify.btn.del.all.tip;"
  132.                 oncommand="SimpleTimerNotify.onDeleteAllNotify();" />
  133.         <button id="simtim-btnReset"
  134.                 label="¬ify.btn.reset;"
  135.                 tooltiptext="¬ify.btn.reset.tip;"
  136.                 oncommand="SimpleTimerNotify.onLoadNotify();" />
  137.     </vbox>
  138.     <vbox flex="1">
  139.         <label id="simtim-labNotifications"
  140.                class="simtim-boldLabel"
  141.                value="&pref.pane.notifications;" />
  142.         <tree id="simtim-treeNotifications"
  143.               class="simtim-borderColors"
  144.               hidecolumnpicker="true"
  145.               editable="true"
  146.               onclick="SimpleTimerNotify.onClickNotTree(event)"
  147.               flex="1"
  148.               rows="5">
  149.             <treecols>
  150.                 <treecol id="simtim-colTime"
  151.                          label="¬ify.label.time;" />
  152.                 <splitter class="tree-splitter" />
  153.                 <treecol id="simtim-colRecur"
  154.                          label="¬ify.label.recurring;"
  155.                          type="checkbox"
  156.                          fixed="true"
  157.                          editable="true"
  158.                          primary="true" />
  159.                 <splitter class="tree-splitter" />
  160.                 <treecol id="simtim-colDow"
  161.                          label="¬ify.label.dow;"
  162.                          flex="1" />
  163.                 <splitter class="tree-splitter" />
  164.                 <treecol id="simtim-colUrl"
  165.                          label="¬ify.label.url;"
  166.                          flex="1" />
  167.                 <splitter class="tree-splitter" />
  168.                 <treecol id="simtim-colDescription"
  169.                          label="¬ify.label.description;"
  170.                          editable="true"
  171.                          flex="6" />
  172.             </treecols>
  173.             <treechildren id="simtim-treeItems" />
  174.         </tree>
  175.     </vbox>
  176. </hbox>
  177.  
  178. </dialog>